package inventory.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sxt
 * @since 2019-11-06
 */
public class PermissionList extends Model<PermissionList> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "permission_list_id", type = IdType.UUID)
    private Integer permissionListId;
    private String permission;
    private String description;


    public Integer getPermissionListId() {
        return permissionListId;
    }

    public void setPermissionListId(Integer permissionListId) {
        this.permissionListId = permissionListId;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    protected Serializable pkVal() {
        return this.permissionListId;
    }

    @Override
    public String toString() {
        return "PermissionList{" +
        ", permissionListId=" + permissionListId +
        ", permission=" + permission +
        ", description=" + description +
        "}";
    }
}
